/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: 
 * License Type: Evaluation
 */
package orm;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Com_logCriteria extends AbstractORMCriteria {
	public final IntegerExpression log_id_log;
	public final DoubleExpression log_tiempo;
	public final StringExpression log_hora;
	public final StringExpression log_resultado;
	public final DoubleExpression parametro;
	
	public Com_logCriteria(Criteria criteria) {
		super(criteria);
		log_id_log = new IntegerExpression("log_id_log", this);
		log_tiempo = new DoubleExpression("log_tiempo", this);
		log_hora = new StringExpression("log_hora", this);
		log_resultado = new StringExpression("log_resultado", this);
		parametro = new DoubleExpression("parametro", this);
	}
	
	public Com_logCriteria(PersistentSession session) {
		this(session.createCriteria(Com_log.class));
	}
	
	public Com_logCriteria() throws PersistentException {
		this(orm.Prueba1PersistentManager.instance().getSession());
	}
	
	public Com_log uniqueCom_log() {
		return (Com_log) super.uniqueResult();
	}
	
	public Com_log[] listCom_log() {
		java.util.List list = super.list();
		return (Com_log[]) list.toArray(new Com_log[list.size()]);
	}
}

